package com.tanhua.server.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @ClassName :  User
 * @Author : Tenebrous
 * @Date: 2020/12/10 20:13
 * @Description : 用户实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User extends BasePojo {

    private Long id;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 密码，json序列化时忽略
     */
    @JsonIgnore
    private String password;
}
